# -*- coding: utf-8 -*- 
'''
Created on 2011-12-23

@author: TOM
'''
from django.conf.urls.defaults import patterns, include, url


urlpatterns = patterns('website.usercontrol.views',
    #账号登录
    (r'^sysuser_login/$', 'sysuser_login'),
    #登录日志
    (r'^syslogin_log_list/$', 'syslogin_log_list'),    
    #系统登录用户管理
    (r'^sysuser_list/$', 'sysuser_list'),
    (r'^sysuser_save/$', 'sysuser_save'),
    (r'^sysuser_del/$', 'sysuser_del'),
    (r'^sysuser_pwd_reset/$', 'sysuser_pwd_reset'),
    #密码修改
    (r'^sysuser_change_pwd/$', 'sysuser_change_pwd'),
    #系统登录角色管理
    (r'^sysrole_list/$', 'sysrole_list'),
    (r'^sysrole_save/$', 'sysrole_save'),
    (r'^sysrole_del/$', 'sysrole_del'), 
    #系统角色权限管理
    (r'^sysrole_authority_list/$', 'sysrole_authority_list'), 
    (r'^sysrole_authority_save/$', 'sysrole_authority_save'), 
    #首页资源设置
    (r'^index_display_list/$', 'index_display_list'),
    (r'^index_display_save/$', 'index_display_save'),
)

urlpatterns += patterns('website.usercontrol.indexview',
    (r'^index_notice/$', 'index_notice'),
    (r'^index_letters/$', 'index_letters'),
    (r'^index_course_warning/$', 'index_course_warning'),
    (r'^index_contract_warning/$', 'index_contract_warning'),
    (r'^index_schedule/$', 'index_schedule'),
)